package com.sharp.authorization.service.area;

import com.sharp.authorization.vo.area.AreaInfoRes;

import java.util.List;

/**
 * Title: AreaService
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/5/1 15:06
 * @description Project Name: Seed
 * @Package: com.srct.service.account.service.area
 */
public interface AreaService {
    /**
     * 获取行政区域名称
     *
     * @param parentCode 父节点code
     * @return 行政区域列表
     */
    List<AreaInfoRes> getAreaInfo(String parentCode);

    /**
     * 从中国邮政ems提供的api同步区划信息
     */
    void syncAreaInfo();
}
